#!/bin/sh
echo "Starting"
echo "endpoint :$endpoint"
sed -i "s|_ENDPOINT_|$endpoint|g" /usr/share/nginx/html/index.html
sed -i "s|COOKIES_DOMAIN|$cookiesDomain|g" /usr/share/nginx/html/index.html
sed -i "s|_BEIAN_|$beian|g" /usr/share/nginx/html/index.html
nginx -g  "daemon off;"